package com.classify.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName ListText
 * @Description 描述
 * @Author GYW
 * @Date 2024-11-17 19:54
 */
public class ListText {


    private Integer tid;

    private String tname;

    private Integer pid;

    private List<ListText> ChildrenList;


    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public List<ListText> getChildrenList() {
        return ChildrenList;
    }

    public void setChildrenList(List<ListText> childrenList) {
        ChildrenList = childrenList;
    }

    @Override
    public String toString() {
        return "ListText{" +
                "tid=" + tid +
                ", tname='" + tname + '\'' +
                ", pid=" + pid +
                ", ChildrenList=" + ChildrenList +
                '}';
    }
}
